3.64 \(\int \sqrt {a \sec ^4(x)} \, dx\)

Optimal. Leaf size=15 \[ \sin (x) \cos (x) \sqrt {a \sec ^4(x)} \]

[Out]

cos(x)*sin(x)*(a*sec(x)^4)^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 15, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {4123, 3767, 8} \[ \sin (x) \cos (x) \sqrt {a \sec ^4(x)} \]

Antiderivative was successfully verified.

[In]

Int[Sqrt[a*Sec[x]^4],x]

[Out]

Cos[x]*Sqrt[a*Sec[x]^4]*Sin[x]

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rule 3767

Int[csc[(c_.) + (d_.)*(x_)]^(n_), x_Symbol] :> -Dist[d^(-1), Subst[Int[ExpandIntegrand[(1 + x^2)^(n/2 - 1), x]
, x], x, Cot[c + d*x]], x] /; FreeQ[{c, d}, x] && IGtQ[n/2, 0]

Rule 4123

Int[((b_.)*((c_.)*sec[(e_.) + (f_.)*(x_)])^(n_))^(p_), x_Symbol] :> Dist[(b^IntPart[p]*(b*(c*Sec[e + f*x])^n)^
FracPart[p])/(c*Sec[e + f*x])^(n*FracPart[p]), Int[(c*Sec[e + f*x])^(n*p), x], x] /; FreeQ[{b, c, e, f, n, p},
 x] &&  !IntegerQ[p]

Rubi steps

\begin {align*} \int \sqrt {a \sec ^4(x)} \, dx &=\left (\cos ^2(x) \sqrt {a \sec ^4(x)}\right ) \int \sec ^2(x) \, dx\\ &=-\left (\left (\cos ^2(x) \sqrt {a \sec ^4(x)}\right ) \operatorname {Subst}(\int 1 \, dx,x,-\tan (x))\right )\\ &=\cos (x) \sqrt {a \sec ^4(x)} \sin (x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 15, normalized size = 1.00 \[ \sin (x) \cos (x) \sqrt {a \sec ^4(x)} \]

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[a*Sec[x]^4],x]

[Out]

Cos[x]*Sqrt[a*Sec[x]^4]*Sin[x]

________________________________________________________________________________________

fricas [A]  time = 0.58, size = 13, normalized size = 0.87 \[ \sqrt {\frac {a}{\cos \relax (x)^{4}}} \cos \relax (x) \sin \relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*sec(x)^4)^(1/2),x, algorithm="fricas")

[Out]

sqrt(a/cos(x)^4)*cos(x)*sin(x)

________________________________________________________________________________________

giac [A]  time = 0.70, size = 6, normalized size = 0.40 \[ \sqrt {a} \tan \relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*sec(x)^4)^(1/2),x, algorithm="giac")

[Out]

sqrt(a)*tan(x)

________________________________________________________________________________________

maple [A]  time = 0.40, size = 14, normalized size = 0.93 \[ \cos \relax (x ) \sin \relax (x ) \sqrt {\frac {a}{\cos \relax (x )^{4}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*sec(x)^4)^(1/2),x)

[Out]

cos(x)*sin(x)*(a/cos(x)^4)^(1/2)

________________________________________________________________________________________

maxima [A]  time = 0.70, size = 6, normalized size = 0.40 \[ \sqrt {a} \tan \relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*sec(x)^4)^(1/2),x, algorithm="maxima")

[Out]

sqrt(a)*tan(x)

________________________________________________________________________________________

mupad [B]  time = 0.11, size = 6, normalized size = 0.40 \[ \sqrt {a}\,\mathrm {tan}\relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a/cos(x)^4)^(1/2),x)

[Out]

a^(1/2)*tan(x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {a \sec ^{4}{\relax (x )}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*sec(x)**4)**(1/2),x)

[Out]

Integral(sqrt(a*sec(x)**4), x)

________________________________________________________________________________________